

#ifndef EMPLOYEEAO_STUB_4_APP_H
#define EMPLOYEEAO_STUB_4_APP_H

#include <string>
#include "c2cent/base/basestub4app.h"
#include "app_platform/cntl_info.h"
#include "intf_employeeao.h"

namespace erp
{
namespace employee
{
namespace ao
{
	#define EMPLOYEEAO_STUB4APP_VERSION "ERP_EMPLOYEE_AO___EMPLOYEEAO__STUB4APP_VERSION__1.0 2013-10-18 14:07:59"
    const std::string EMPLOYEEAO_STUB4APP_NOUSE = EMPLOYEEAO_STUB4APP_VERSION;

	class CEmployeeAoStub4App : public c2cent::CBaseStub4App, public IEmployeeAo, public IEmployeeAoAsyc
	{
	public:
		uint32_t AddEmployee(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::employee::po::CEmployeePo& employee,
				const std::string& inReserve,
				std::string& errmsg,
				erp::employee::po::CEmployeePo& employeeBack,
				std::string& outReserve
	    );
	    uint32_t SendAddEmployee(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::employee::po::CEmployeePo& employee,
				const std::string& inReserve
	    );
	    uint32_t RecvAddEmployee(
				const CCntlInfo& rCntlInfo,
				std::string& errmsg,
				erp::employee::po::CEmployeePo& employeeBack,
				std::string& outReserve
	    );
	    
	    uint32_t RecvAddEmployee(
		  		CCmdObj& rCmd,
				std::string& errmsg,
				erp::employee::po::CEmployeePo& employeeBack,
				std::string& outReserve
	    );
	    
	    uint32_t GetAddEmployeeRespCmd(
	    );
		uint32_t GetEmployeeById(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::employee::po::CEmployeeFilterPo& employeeFilter,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint32_t,erp::employee::po::CEmployeePo >& employees,
				std::string& outReserve
	    );
	    uint32_t SendGetEmployeeById(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::employee::po::CEmployeeFilterPo& employeeFilter,
				const std::string& inReserve
	    );
	    uint32_t RecvGetEmployeeById(
				const CCntlInfo& rCntlInfo,
				std::string& errmsg,
				std::map<uint32_t,erp::employee::po::CEmployeePo >& employees,
				std::string& outReserve
	    );
	    
	    uint32_t RecvGetEmployeeById(
		  		CCmdObj& rCmd,
				std::string& errmsg,
				std::map<uint32_t,erp::employee::po::CEmployeePo >& employees,
				std::string& outReserve
	    );
	    
	    uint32_t GetGetEmployeeByIdRespCmd(
	    );
	};

}
}
}

#endif /* EMPLOYEEAO_STUB_4_APP_H */

